<?php
class eb2Request
{
	private $strMethod;

    public function __construct($strMethod = 'GET')
	{
		if(!in_array($strMethod, array('GET', 'POST')))
			$this->strMethod = 'GET';
		$this->strMethod = $strMethod;
    }
	
	public function getParameter($strParam){
		return trim($_GET[$strParam]);
	}
}
?>